home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 8488 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  977 b 

  1. Path: keats.ugrad.cs.ubc.ca!not-for-mail
  2. From: c2a192@ugrad.cs.ubc.ca (Kazimir Kylheku)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: What is &Variable (declared as: char Variable[10])?
  5. Date: 4 Mar 1996 09:39:26 -0800
  6. Organization: Computer Science, University of B.C., Vancouver, B.C., Canada
  7. Message-ID: <4hf9seINNl1u@keats.ugrad.cs.ubc.ca>
  8. References: <4gqpa1$3h9@alcor.usc.edu> <4h1u9d$sqq@ceylon.gte.com> <danpop.825542129@rscernix> <4hf0n1$hca@ceylon.gte.com>
  9. NNTP-Posting-Host: keats.ugrad.cs.ubc.ca
  10.  
  11. In article <4hf0n1$hca@ceylon.gte.com>, Brenda  <g051286> wrote:
  12.  >From "A Book on C" (Kelley & Pohl, copyright 1990, pg. 29)
  13.  >"In C, a string is an array of characters, and an array name by itself is a
  14.  >pointer.  Because of this, the concepts of arrays, strings, and pointers are
  15.  >intimately related.  A pointer is just an address of an object in memory..."
  16.  
  17. That's what you get when the department or professor decides to use a book
  18. other than Kernighan and Ritchie. 
  19. -- 
  20.  
  21.